home *** CD-ROM | disk | FTP | other *** search
/ 9-Digit Zip Code Directory / 9-Digit Zip Code Directory (American Business Information) (ABIZIP-12).ISO / z4src.zip / MEMORY.H < prev    next >
C/C++ Source or Header  |  1993-11-23  |  2KB  |  76 lines

  1. /***
  2. *memory.h - declarations for buffer (memory) manipulation routines
  3. *
  4. *   Copyright (c) 1985-1992, Microsoft Corporation.  All rights reserved.
  5. *
  6. *Purpose:
  7. *   This include file contains the function declarations for the
  8. *   buffer (memory) manipulation routines.
  9. *   [System V]
  10. *
  11. ****/
  12.  
  13. #ifndef _INC_MEMORY
  14.  
  15. #ifdef __cplusplus
  16. extern "C" {
  17. #endif 
  18.  
  19. #if (_MSC_VER <= 600)
  20. #define __cdecl     _cdecl
  21. #define __far       _far
  22. #endif 
  23.  
  24. #ifndef _SIZE_T_DEFINED
  25. typedef unsigned int size_t;
  26. #define _SIZE_T_DEFINED
  27. #endif 
  28.  
  29.  
  30. /* function prototypes */
  31.  
  32. void * __cdecl _memccpy(void *, const void *,
  33.     int, unsigned int);
  34. void * __cdecl memchr(const void *, int, size_t);
  35. int __cdecl memcmp(const void *, const void *,
  36.     size_t);
  37. void * __cdecl memcpy(void *, const void *,
  38.     size_t);
  39. int __cdecl _memicmp(const void *, const void *,
  40.     unsigned int);
  41. void * __cdecl memset(void *, int, size_t);
  42. void __cdecl _movedata(unsigned int, unsigned int, unsigned int,
  43.     unsigned int, unsigned int);
  44.  
  45.  
  46. /* model independent function prototypes */
  47.  
  48. void __far * __far __cdecl _fmemccpy(void __far *, const void __far *,
  49.     int, unsigned int);
  50. void __far * __far __cdecl _fmemchr(const void __far *, int, size_t);
  51. int __far __cdecl _fmemcmp(const void __far *, const void __far *,
  52.     size_t);
  53. void __far * __far __cdecl _fmemcpy(void __far *, const void __far *,
  54.     size_t);
  55. int __far __cdecl _fmemicmp(const void __far *, const void __far *,
  56.     unsigned int);
  57. void __far * __far __cdecl _fmemset(void __far *, int, size_t);
  58.  
  59.  
  60. #ifndef __STDC__
  61. /* Non-ANSI names for compatibility */
  62. void * __cdecl memccpy(void *, const void *,
  63.     int, unsigned int);
  64. int __cdecl memicmp(const void *, const void *,
  65.     unsigned int);
  66. void __cdecl movedata(unsigned int, unsigned int, unsigned int,
  67.     unsigned int, unsigned int);
  68. #endif 
  69.  
  70. #ifdef __cplusplus
  71. }
  72. #endif 
  73.  
  74. #define _INC_MEMORY
  75. #endif 
  76.